﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.Model.Service
{
    /// <summary>
    /// サービスを利用するユーザ情報
    /// </summary>
    public abstract class NicoUser
    {
        public NicoUser(string id)
        {
            Id = id;
        }

        /// <summary>
        /// ユーザID
        /// </summary>
        public string Id { get;  set; }

        internal bool IsAnonymous
        {
            get
            {
                int buffer;
                return !int.TryParse(Id, out buffer);
            }
        }


    }
}
